package com.tanhua.dubbo.api;


import com.tanhua.dubbo.pojo.Voice;

import java.util.List;

public interface VoiceApi {
    /**
     * 保存音频文件
     *
     * @param voice
     * @return 保存成功后，返回音频id
     */
    String saveVideo(Voice voice);


    /**
     * 根据id查询音频
     *
     * @param voiceId
     * @return
     */
    Voice queryVoiceById(String voiceId);

    Voice receiveRecommendVoice(Long myId);

    List<Voice> queryAllVoice();
}
